package com.eportal.service;

import java.util.Map;

import com.eportal.domain.LifeStrategy;
import com.eportal.exception.JdbcException;

public interface LifeStrategyService {


    void update(LifeStrategy tstrategy) throws JdbcException;

    LifeStrategy get(Long sid);

	Map<String, Object> getBySql(long shid, String distributeType);

	Map<String, Object> updateMethod(LifeStrategy lifeStrategy, String agtName, String comuName);

	Map<String, Object> offMethod(LifeStrategy lifeStrategy, String agtName, String comuName, String offType);

	Map<String, Object> reports(long parseLong);

	String getNoRepeat(String str1, String str2);

	String getCommunityId(String agtCode);

	String offNoRepeat(String str1, String str2);

}
